<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ page contentType="text/html; charset=ISO-8859-1"%>


<html:html locale="true">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<title>
			<tiles:getAsString name="title"/>
		</title>
		<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css" media="screen" />
		<link type="text/css" href="<%=request.getContextPath()%>/css/start/jquery-ui.css" rel="stylesheet" />	
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery-ui.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/live-validation.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/elementos.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/peticiones.js"></script>
	</head>
	
	<logic:present name="msgVO">
		<logic:notEmpty name="msgVO">
			<div id="<bean:write name="msgVO" property="msgTipo" />" title="<bean:write name="msgVO" property="msgTitulo" />">
				<p><bean:write name="msgVO" property="msgDescripcion"/></p>
			</div>
		</logic:notEmpty>
	</logic:present>
	
	<body>
		<div id="bg1">
			<div id="header">
				<tiles:insert attribute="header"/>
			</div>
		</div>	<!-- end #bg1 -->
		
		<div id="bg2">
			<div id="header2">			
				<div id="menu">
					<ul>
						<tiles:insert attribute="menu"/>
					</ul>
				</div>	<!-- end #menu -->
				
				<div id="search">
					<form method="get" action="#">
						<fieldset>
							<tiles:insert attribute="buscar"/>
						</fieldset>
					</form>
				</div>	<!-- end #search -->			
			</div>	<!-- end #header2 -->		
		</div>	<!-- end #bg2 -->
		
		<div id="bg3">
			<div id="bg4">
				<div id="bg5">
					<div id="page">						
						<div id="content">
								<tiles:insert attribute="cuerpo"/>							
						</div>	<!-- end #content -->	
						<br/><br/><br/>
						<div id="sidebar">
							<ul>
								<li>
									<tiles:insert attribute="login"/>
								</li>
								<li>
									<tiles:insert attribute="enlaces"/>
								</li>
							</ul>
						</div>	<!-- end #sidebar -->					
						<div style="clear: both; height: 40px;">&nbsp;</div>
					</div>	<!-- end #page -->				
				</div> <!-- end #bg5 -->
			</div> <!-- end #bg4 -->
		</div>	<!-- end #bg3 -->
		
		<div id="footer">
			<jsp:include page="../componentes/footer.jsp"></jsp:include>
		</div>
	</body>
</html:html>